package com.karson.service.dao;

import com.karson.common.model.ActionCounts;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author ZKS
* @description 针对表【ar_action_counts(实体聚合计数表（点赞/点踩/收藏）)】的数据库操作Mapper
* @createDate 2025-09-04 14:23:27
* @Entity com.karson.common.model.ActionCounts
*/
public interface ActionCountsMapper extends BaseMapper<ActionCounts> {

    void incrementLikeCount(Integer messageId, Long value, String type);

    void incrementDisLikeCount(Integer messageId, Long value, String type);

    void incrementFavCount(Integer messageId, Long value, String type);

    void incrementPvCount(Integer messageId, Long value, String type);

    void incrementPlayCount(Integer messageId, Long value, String type);

}




